Image of Pre-Image is Subset of Set
For \(f : X \to Y\) and \(B \subseteq Y\)
and in particular
Intuitively, if we take the set of things that map into \(B\) (\(f(f^{-1}(B))\)), and apply the map to them, those things will all be in \(B\). However if \(B\) contains elements which have no corresponding input under \(f\), then those elements will not be in \(f(f^{-1}(B))\).
Proof
For the first part, we have that
We will now prove the second result, applied to a function \(f : X \to Y\) where \(B \subseteq Y\). First, consider, by unravelling definitions that because
and
we have by substitution of the first into the second and some simplification that
Now, if \(f\) is surjective then clearly this is equal to \(B\), as for every element in \(B\) there is a \(y\) such that \(f(y) = B\).
On the flipside, if the above is equal to \(B\) for any \(B\), then for \(B = Y\) we have that
which is the definition of surjectivity.